{include file="header.tpl" title="Bao tri par_sbvlist"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="6%"><div align="center"></div></td>
     <td colspan="3" >{$lbl_SBVTYP}
       <select name="SBVTYP" size="1"  id="SBVTYP" onchange="document.getElementById('find').click();" {if $activefield eq 'enabled'} disabled="disabled" {/if}>
         
      {foreach from=$cbo_SBVTYP key=k item=v}   
         
         <option value="{$k}" {if $k eq $SBVTYP} selected="selected" {/if} >{$k} - {$v}</option>
             
	  {/foreach}   
       
       </select>
       <input type="submit" id="find" name="find" style="visibility:hidden" value="   " />
	   <input type="hidden" name="tmpSBVTYP" id="tmpSBVTYP" value="{$SBVTYP}" />	    </td>
    </tr>
  
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
     <!-- <input type="checkbox" id="Chk_all" name="Chk_all" onchange="document.getElementById('chk').click();" {if $chk eq 'true'} checked="checked" {/if} {if $ENABLED eq "Y"} checked="checked" {/if}/> -->
    </span></div></td>
    <td  nowrap="nowrap">{$lbl_tentiengviet}</td>
    <td  nowrap="nowrap">{$lbl_tentienganh}</td>
    <td width="23%" >{$lbl_tentudo1}</td>
	 <td width="23%" >{$lbl_tentudo2}</td>
  </tr>
  <tr>
    <td><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED0" name="ENABLED0" onchange="check_change(1);" {if $ENABLED0 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM0" type="text" id="CDNAM0" value="{$CDNAM0}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN0" type="text" id="CDNAMEN0" value="{$CDNAMEN0}" size="50" maxlength="50" /></td>
    <td width="6%" ><input name="FREEDEFVN1VN0" type="text" id="FREEDEFVN1VN0" value="{$FREEDEFVN1VN0}" size="50" maxlength="50" /></td>
	 <td width="23%"><input name="FREEDEFVN2VN0" type="text" id="FREEDEFVN2VN0" value="{$FREEDEFVN2VN0}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED1" name="ENABLED1" onchange="check_change(1);" {if $ENABLED1 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td width="41%">
	<!---<select name="AP" size="1"  id="AP" >      
      {foreach from=$cbo_loai key=k item=v}      
      <option value="{$k}" {if $k eq $AP} selected="selected" {/if} >{$k}</option>      
	  {/foreach}    
    </select> 
	<input type="hidden" name="tmpAP" value="{$AP}"/>--->
	<input name="CDNAM1" type="text" id="CDNAM1" value="{$CDNAM1}" size="50" maxlength="50" /></td>
    <td width="4%"><input name="CDNAMEN1" type="text" id="CDNAMEN1" value="{$CDNAMEN1}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN1" type="text" id="FREEDEFVN1VN1" value="{$FREEDEFVN1VN1}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN1" type="text" id="FREEDEFVN2VN1" value="{$FREEDEFVN2VN1}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED2" name="ENABLED2" onchange="check_change(1);" {if $ENABLED2 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><p>
      <input name="CDNAM2" type="text" id="CDNAM2" value="{$CDNAM2}" size="50" maxlength="50" />
    </p>      </td>
    <td><input name="CDNAMEN2" type="text" id="CDNAMEN2" value="{$CDNAMEN2}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN2" type="text" id="FREEDEFVN1VN2" value="{$FREEDEFVN1VN2}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN2" type="text" id="FREEDEFVN2VN2" value="{$FREEDEFVN2VN2}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED3" name="ENABLED3" onchange="check_change(1);" {if $ENABLED3 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM3" type="text" id="CDNAM3" value="{$CDNAM3}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN3" type="text" id="CDNAMEN3" value="{$CDNAMEN3}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN3" type="text" id="FREEDEFVN1VN3" value="{$FREEDEFVN1VN3}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN3" type="text" id="FREEDEFVN2VN3" value="{$FREEDEFVN2VN3}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED4" name="ENABLED4" onchange="check_change(1);" {if $ENABLED4 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM4" type="text" id="CDNAM4" value="{$CDNAM4}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN4" type="text" id="CDNAMEN4" value="{$CDNAMEN4}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN4" type="text" id="FREEDEFVN1VN4" value="{$FREEDEFVN1VN4}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN4" type="text" id="FREEDEFVN2VN4" value="{$FREEDEFVN2VN4}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED5" name="ENABLED5" onchange="check_change(1);" {if $ENABLED5 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM5" type="text" id="CDNAM5" value="{$CDNAM5}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN5" type="text" id="CDNAMEN5" value="{$CDNAMEN5}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN5" type="text" id="FREEDEFVN1VN5" value="{$FREEDEFVN1VN5}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN5" type="text" id="FREEDEFVN2VN5" value="{$FREEDEFVN2VN5}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED6" name="ENABLED6" onchange="check_change(1);" {if $ENABLED6 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM6" type="text" id="CDNAM6" value="{$CDNAM6}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN6" type="text" id="CDNAMEN6" value="{$CDNAMEN6}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN6" type="text" id="FREEDEFVN1VN6" value="{$FREEDEFVN1VN6}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN6" type="text" id="FREEDEFVN2VN6" value="{$FREEDEFVN2VN6}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED7" name="ENABLED7" onchange="check_change(1);" {if $ENABLED7 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM7" type="text" id="CDNAM7" value="{$CDNAM7}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN7" type="text" id="CDNAMEN7" value="{$CDNAMEN7}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN7" type="text" id="FREEDEFVN1VN7" value="{$FREEDEFVN1VN7}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN7" type="text" id="FREEDEFVN2VN7" value="{$FREEDEFVN2VN7}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED8" name="ENABLED8" onchange="check_change(1);" {if $ENABLED8 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM8" type="text" id="CDNAM8" value="{$CDNAM8}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN8" type="text" id="CDNAMEN8" value="{$CDNAMEN8}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN8" type="text" id="FREEDEFVN1VN8" value="{$FREEDEFVN1VN8}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN8" type="text" id="FREEDEFVN2VN8" value="{$FREEDEFVN2VN8}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><div align="center"><span style="color:#FF0000">
      <input type="checkbox" id="ENABLED9" name="ENABLED9" onchange="check_change(1);" {if $ENABLED9 eq "Y"} checked="checked" {/if}/>
    </span></div></td>
    <td><input name="CDNAM9" type="text" id="CDNAM9" value="{$CDNAM9}" size="50" maxlength="50" /></td>
    <td><input name="CDNAMEN9" type="text" id="CDNAMEN9" value="{$CDNAMEN9}" size="50" maxlength="50" /></td>
    <td><input name="FREEDEFVN1VN9" type="text" id="FREEDEFVN1VN9" value="{$FREEDEFVN1VN9}" size="50" maxlength="50" /></td>
	 <td><input name="FREEDEFVN2VN9" type="text" id="FREEDEFVN2VN9" value="{$FREEDEFVN2VN9}" size="50" maxlength="50" /></td>
  </tr>
  <tr>
    <td colspan="4" nowrap="nowrap">&nbsp;</td>
    </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'SBVTYP');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2">
    <div align="left">
      <input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </div></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
